#pragma once

#include <refbase.h>

class PrimeGeneratorProxy : public RefBase {
public:
    static sptr<PrimeGeneratorProxy> GetInstance();

    int GetPrime(int id);

private:
    PrimeGeneratorProxy() = default;
    virtual ~PrimeGeneratorProxy() = default;
    static inline sptr<PrimeGeneratorProxy> instance = nullptr;
};
